package com.wangdao.mall.service;

import com.wangdao.mall.model.Admin;
import com.wangdao.mall.model.Password;

import java.util.List;

/**
 * @Author:HaiyangTian
 * @Description:
 * @Date: Created in 17:34 2020/4/29
 * @Modified By:
 */
public interface AdminService {

    int login(Admin admin);

    List<Admin> allAdmins();

    List<Admin> getSearchAdmins(Admin params);

    int deleteAdmins(String id);

    int addAdmins(Admin admin);

    int changePwd(Password pwds,String admin);

    Admin getAdminsInfo(String id);

    void updateAdmins(Admin admin);
}
